package com.example.pharmacy.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-21
 * Time: 20:46
 */
@Data
public class OrderResult {
    private Integer orderId;
    private String createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal allAmount;
    private List<UserHistoryOrder> orderList;
    public void setCreateTime(String date) {
        createTime = date;
    }
}
